//
//  ChatDB.h
//  projectOfTeamSample
//
//  Created by lanou3g on 15/11/20.
//  Copyright © 2015年 liukai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ChatDB : NSObject
//单例
+ (instancetype)manager;
//打开数据库
- (BOOL)openChetDB;
//关闭数据库
- (void)closeChatDB;
//创建表
- (void)creatTable;
//添加数据
- (void)insertWithText:(NSString *)text WithId:(NSString *)client;
//查找数据
- (NSMutableArray *)seleteAll;
@end
